package cn.edu.zjut.medlinebackend.mapper;

import cn.edu.zjut.medlinebackend.model.Favorite;
import cn.edu.zjut.medlinebackend.model.Groupfile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86136
* @description 针对表【groupfile】的数据库操作Mapper
* @createDate 2024-01-10 15:56:54
* @Entity cn.edu.zjut.medlinebackend.model.Groupfile
*/
public interface GroupfileMapper extends BaseMapper<Groupfile> {
    boolean deleteGroupFile(@Param("fileName") String fileName, @Param("userId") Integer userId, @Param("groupId") Integer groupId);

    List<Groupfile> getAllByUserid(Integer userId);

    Groupfile seleteGroupFile(@Param("fileName") String fileName, @Param("userId") Integer userId, @Param("groupId") Integer groupId);
}




